package cn.tedu.jsd2207csmall.passport.ex;

import cn.tedu.jsd2207csmall.passport.web.ServiceCode;

public class ServiceException extends RuntimeException {

    public ServiceException() {
    }

    private ServiceCode serviceCode;

    public ServiceException(ServiceCode serviceCode, String message) {
        super(message);
        this.serviceCode=serviceCode;
    }

    public ServiceCode getServiceCode() {
        return serviceCode;
    }
}
